#ifndef ALERTWINDOW_H
#define ALERTWINDOW_H

#include <QDialog>
#include "eventshandler.h"

namespace Ui {
    class AlertWindow;
}

class AlertWindow : public QDialog
{
    Q_OBJECT

public:
    explicit AlertWindow(QWidget *parent = 0);
    ~AlertWindow();
    void DisplayAlert(Event A);

private:
    Ui::AlertWindow *ui;
    QTimer *timer;


private slots:
    void on_pushButton_clicked();
    void PlaySound();
};

#endif // ALERTWINDOW_H
